import { IParam } from '@/core';
import { IBIZSample0005UIServiceBase } from './ibiz-sample-0005-ui-service-base';

/**
 * 多模式流程UI服务
 * 基于template/src/ui-service/{{appEntities}}/{{appEntities}}-ui-service.ts.hbs生成
 *
 * @export
 * @class IBIZSample0005UIService
 * @extends IBIZSample0005UIServiceBase
 */
export class IBIZSample0005UIService extends IBIZSample0005UIServiceBase {

    /**
     * 基础UI服务实例
     * 
     * @private
     * @type { IBIZSample0005UIService }
     * @memberof IBIZSample0005UIService
     */
    private static basicUIServiceInstance: IBIZSample0005UIService;

    /**
     * UI服务存储Map对象
     *
     * @private
     * @type {Map<string, any>}
     * @memberof IBIZSample0005UIService
     */
    private static UIServiceMap: Map<string, any> = new Map();

    /**
     * Creates an instance of IBIZSample0005UIService.
     * @memberof IBIZSample0005UIService
     */
    constructor(opts?: IParam) {
        super(opts);
    }

    /**
     * 获取实例
     *
     * @static
     * @param 应用上下文
     * @return {*}  { IBIZSample0005UIService }
     * @memberof IBIZSample0005UIService
     */
    static getInstance(opts?: IParam): IBIZSample0005UIService {
        if (!this.basicUIServiceInstance) {
            this.basicUIServiceInstance = new IBIZSample0005UIService(opts);
        }
        return this.basicUIServiceInstance;
    }
}
export default IBIZSample0005UIService;